﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using SingleUserMall.Points;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SingleUserMall.Mall.Form
{
    [AutoMapTo(typeof(ReleasePointRules))]
    public class ReleasePointRuleForm : EntityDto<long>
    {
        /// <summary>
        /// 规则名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 普通用户自购佣金
        /// </summary>
        public double NormalUserOwnBuyRate { get; set; }
        /// <summary>
        /// VIP用户自购佣金
        /// </summary>
        public double VIPUserOwnBuyRate { get; set; }
        /// <summary>
        /// 合伙人自购佣金
        /// </summary>
        public double SuperVIPUserOwnBuyRate { get; set; }
        /// <summary>
        /// 直推普通用户给VIP用户佣金比例
        /// </summary>
        public double DirectNormalUserToVIPRate { get; set; }
        /// <summary>
        /// 直推普通用户给合伙人佣金比例
        /// </summary>
        public double DirectNormalUserToSuperVIPRate { get; set; }
        /// <summary>
        /// VIP团队给合伙人佣金比例
        /// </summary>
        public double DirectVIPGroupUserToSuperVIPRate { get; set; }
        /// <summary>
        /// 直推合伙人给合伙人佣金比例
        /// </summary>
        public double DirectSuperVIPUserToSuperVIPRate { get; set; }
        /// <summary>
        /// 直推合伙人给VIP用户佣金比例
        /// </summary>
        public double DirectSuperVIPUserToVIPRate { get; set; }
        /// <summary>
        /// 直推合伙人给普通佣金比例
        /// </summary>
        public double DirectSuperVIPUserToNormalUserRate { get; set; }
    }
}
